home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / C / CTRL CHARACTERS.cpt / CTRL CHARACTERS / "READ ME FIRST!!" < prev   
Encoding:
Text File  |  1987-01-04  |  8.7 KB  |  210 lines  |  [TEXT/MSWD]

  1.                        Using Control Characters in your BBS
  2.                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3.  
  4.           
  5. by Tom Fernandez 
  6. copyright (c) 1987                                   
  7. GEnie address..TOMFERNANDEZ
  8. Primetime BBS...SYSOP
  9. (815) 965-5606 300/1200/2400 - 24 Hrs.
  10.  
  11.  
  12.  
  13. 1)  About this Document
  14. ^^^^^^^^^^^^^^^^^^^^^^^
  15.  
  16.      Want to add some additional style to your BBS?  Inserting some control
  17. characters will help.  Follows is a description of how to install, remove,
  18. and in some cases actually "hard code" control characters into your BBS
  19. software.
  20.  
  21.  
  22.      This file consists of this text, plus 3 other text-files called:
  23.  
  24.       1) "BELL"
  25.       2) "FORM-FEED"
  26.       3) "FORM-FEED & BELL"
  27.  
  28.      If you have already looked inside of the above three with Edit, Mockwrite,
  29. or a similar editor, you will see that the files contain a small square symbol.
  30. Actually, what you have seen is an ASCII Control Character, however because of
  31. font limitations, the character is not displayed as a font, so it defaults to
  32. the the " " character.
  33.  
  34.  
  35. 2)  Installation of Control Characters
  36. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37.  
  38.      Using and installing control characters is very easy in ASCII text-files.
  39. For example, if you have a "Welcome" screen for your BBS, you can easily use
  40. the control characters.  For example, here is my Welcome screen, with control
  41. characters inserted.
  42.  
  43.  
  44.  
  45. |:::::::::::::::::::::::::::::::::::::/\:::::::::::::::::::::::::::::::::::|
  46. |::::::::::::::::::::::::::::::::::::/  \::::::::::::::::::::::::::::::::::|
  47. |:::::::::::::::::::::::::::::::::::/    \:::::::::::::::::::::::::::::::::|
  48. |::::::::::::::::::::::::::::::::::/  /\  \::::::::::::::::::::::::::::::::|
  49. |:::::::::::::::::::::::::::::::::/  /  \  \:::::::::::::::::::::::::::::::|
  50. |::::::::::::::::::::-----------------------------------:::::::::::::::::::|
  51. |:::::::::::::::::::|  You have Connected to PRIMETIME  |::::::::::::::::::|
  52. |::::::::::::::::::::-----------------------------------:::::::::::::::::::|
  53. |:::::::::::::::::::::::::::::::::\  \  /  /:::::::::::::::::::::::::::::::|
  54. |::::::::::::::::::::::::::::::::::\  \/  /::::::::::::::::::::::::::::::::|
  55. |:::::::::::::::::::::::::::::::::::\    /:::::::::::::::::::::::::::::::::|
  56. |::::::::::::::::::::::::::::::::::::\  /::::::::::::::::::::::::::::::::::|
  57. |:::::::::::::::::::::::::::::::::::::\/:::::::::::::::::::::::::::::::::::|
  58. |:::::: ---------------------- ::::::::::::::: ------------------- ::::::::|
  59. |::::::| MEBBS Beta Test Site |:::::::::::::::| 300/1200/2400 Baud |:::::::|
  60. |:::::: ---------------------- ::::::::::::::: ------------------- ::::::::|
  61. |::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
  62. 
  63.  
  64.      The very first control character you seen is actually a "FORM FEED"
  65. character. This will clear your callers screen when the character is received
  66. by the callers terminal program.  This allows the Welcome message to completely
  67. fill the callers screen.  The caller dos not seen the control character.
  68.  
  69.      The very last control character is the "BELL" character, and it rings the
  70. bell on the callers Mac.  This just prompts the caller to enter s/his password.
  71.  
  72.      You install these characters by cutting & pasting the desired character(s)
  73. into your Welcome screens, Text-files, etc.
  74.  
  75.  
  76. 3) Viewing your results
  77. ^^^^^^^^^^^^^^^^^^^^^^^
  78.  
  79.      Assuming you have cut & pasted a form-feed and bell into your BBS software,
  80. you might not be able so see the results on your work in LOCAL mode.  I think
  81. that programs such as Red Ryder HOST & WWIV will let you see the FORM-FEEDS
  82. work as your caller encounters them in the text.  I am unsure if the BELL will
  83. ring the bell of your Macintosh.
  84.  
  85.      With Mouse Exchange BBS, you will not see the the results of your work. You
  86. will have to call your BBS from a remote Mac to see your handiwork.
  87.  
  88.      Using FORMFEEDS may require some callers of Red Ryder HOST systems to 
  89. "reset" the way the program clears their screen.
  90.  
  91.      I have not tried control characters with MacMansion and Mac*POWER*Net BBS
  92. software, but control characters should work with any BBS program, including 
  93. programs for the IBM-PC, Atari, Commodore, TRS-80, etc.
  94.  
  95.  
  96. 4) Creating Control Characters
  97. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  98.  
  99.      You can create CONTROL CHARACTERS easily.  Here is how you do it.
  100.  
  101.    4a)  Create a NEW document using Edit, Mockwrite, or a similar text-editor.
  102.    4b)  Enter a single <carriage return>, and then SAVE the document.
  103.    4c)  Now using a disk editor such as FEdit or MacSnoop, you will change the
  104.         <carriage return> character into a different ASCII control character.
  105.    4d)  Look at the character as a "HEX" (hexidecimal) character.  These are
  106.         some of the default values.
  107.         
  108.         Carriage Return = 0D  (ZERO, D)
  109.         BELL            = 07  (ZERO, 7)
  110.         FORM-FEED       = 0C  (ZERO, C)
  111.  
  112.    4e)  Your carriage return will be displayed as a "OD", and it will be the
  113.         first two HEX values displayed.  You must perform a HEX change to make
  114.         the "0D" into a character of your choosing.   Please refer to an ASCII
  115.         Control Character Chart for information about the different control 
  116.         characters that are available. Your modem manual might list the ASCII 
  117.         table.
  118.  
  119.  
  120. 5)  Hardcoding Control Characters into software
  121. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  122.  
  123.      You can also do some tricks with control chatacters by hardcoding them into
  124. your BBS program.  For example, I run Mouse Exchange BBS software, and if a user
  125. of my board has mail waiting for them to read, the program will ring the users
  126. bell when they receive the prompt...
  127.  
  128.      "You Have MailWaiting"  (Bing!)
  129.  
  130.      The control character is inserted between "Mail" and "Waiting". The user
  131. never sees the control character, but the bell on their Mac rings once when
  132. the "You Have MailWaiting" prompt is shown to them.
  133.  
  134.      You can insert control characters into any "blank" space between word
  135. strings and sentences in your BBS software.  Locate the ASCII sentance or string
  136. you wish to modify, then HEX modify the blank space to a BELL, FORM-FEED, etc.
  137.  
  138.      If your BBS program as an annoying Copyright message, you can insert the
  139. FORM-FEED character at the beginning and at the end of the copyright message.
  140. You cannot legally remove the copyright notice, but you can make it display for
  141. a very short period of time by using FORM-FEEDS.  The notice will flash on the
  142. screen for a very brief instant.
  143.  
  144.      MEBBS uses many ASCII text-files, especially for Menus, Help FIles, and
  145. for the News and FIle Directories.  Very little hardcoding is required for
  146. a MEBBS.  Red Ryder HOST has many different areas that can be internally coded
  147. for BELLS & FORM-FEEDS. You can also enter FORM-FEEDS as the first character
  148. of your Menu Description (the first three lines) to clear the users screen
  149. so that your menu is the only item displayed.
  150.  
  151.  
  152. 6)  Other uses of Control Characters
  153. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  154.  
  155.      Remember that control characters can be used in ASCII Text, so you can
  156. also liven up your messages/mail & news topics.  Next time you call a BBS you
  157. might want to first copy some control characters into your clipboard and try
  158. adding some "Bells & Whistles" to any Mail or News you post.  It drives just
  159. about everybody else crazy trying figure out how you are doing it.  For use
  160. with News messages, you will probably want to create a "LINE FEED" character
  161. and use it in place of a FORM-FEED.  Insert the character between each letter
  162. of your name and see what the results are by reading the message you have just
  163. posted.
  164.  
  165.  
  166.  
  167.  
  168. 7)  Disclaimers & Legal Crapola
  169. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  170.  
  171.      This information is provided "as-is".  No guarantee is made or offered as
  172. to the suitability of the concepts and ideas outlined above.
  173.  
  174.      You agree that any and all risks associated with the use of the ideas or
  175. concepts contained herein are assumed by YOU, and YOU alone.  You also agree
  176. that any legal disputes that may arise from the use or mis-use of the ideas and
  177. information herein are deeded in occur in the State of Illinois, and County of
  178. Winnebago.
  179.  
  180.      (I dislike the above two paragraphs, but I really dislike lititgation.) 
  181.  
  182.  
  183.  
  184. 8)  Distribution
  185. ^^^^^^^^^^^^^^^^
  186.  
  187.     8a) This file may be uploaded to any public Bulletin Board Systems.
  188.  
  189.     8b) This file may not be uploaded to "Compuserve" or any services or
  190.         firms owned by Compuserve.
  191.  
  192.     8c) This file is FREE...No charge may be made for distribution of it.
  193.  
  194.  
  195.  
  196. 9)  Errata
  197. ^^^^^^^^^^
  198.  
  199. Thanks to Ralph Yount, Sysop of MacInternational (803) 957-6870 for information
  200. about Control Characters.
  201.  
  202. Be sure to work on a copy of any software you attemt to modify.  Using a disk
  203. editor is alot of fun, but it is easy to go too far and render your program
  204. useless.  Be safe, work on a copiy!
  205.  
  206. Have you backed up your Hard Disk today?
  207.  
  208.  
  209.  
  210.